package com.shuiyun.dao;

import com.shuiyun.entity.Boat;
import com.shuiyun.entity.BoatExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BoatMapper {
    int countByExample(BoatExample example);

    int deleteByExample(BoatExample example);

    int deleteByPrimaryKey(Integer boatId);

    int insert(Boat record);

    int insertSelective(Boat record);

    List<Boat> selectByExample(BoatExample example);

    Boat selectByPrimaryKey(Integer boatId);

    int updateByExampleSelective(@Param("record") Boat record, @Param("example") BoatExample example);

    int updateByExample(@Param("record") Boat record, @Param("example") BoatExample example);

    int updateByPrimaryKeySelective(Boat record);

    int updateByPrimaryKey(Boat record);
}